<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <link rel="shortcut icon" href="../../src/images/bitbug_favicon.ico" type="image/x-icon">
  <meta name="keywords" content="your keywords">
  <meta name="description" content="your description">
  <meta name="author" content="author,email address">
  <meta name="robots" content="index,follow">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <title>仁和区党群服务一号通暨群众意见受理中心</title>
  <link rel="stylesheet" href="../../src/css/base.css">
  <link rel="stylesheet" href="../../src/css/common.css">
  <link rel="stylesheet" href="../../src/css/tpl.css">
  <link rel="stylesheet" href="../../src/css/user_center.css">
    <script src="../../src/js/libs/es5-shim.min.js"></script>   <script src="../../src/js/libs/es5-sham.min.js"></script>    <script src="../../src/js/libs/json3.min.js"></script> </head>

<body>
  <div class="page">
    <div id="header">
    </div>
    <div class="menu-bar">
      <div class="container">
        <span>
        <span class="crumb-name">当前你的位置：</span>>
        </span>
        <span>
             <a href="../Home/Index.html">首页</a>>
      </span>
        <span>个人中心</span>
      </div>
    </div>

    <div class="mid_container clearfix">
      <div class="left_guide">
        <h1 class="left_guide_top_size">
          个人中心
        </h1>
        <div class="left_guide_decorate">
        </div>
        <div class="left_about_us">
          ABOUT US
        </div>
        <div class="left_white_about ">
          <a href="../Personal/LeaveMessage.html">
                <span class="left_cn_about_us">系统消息</span>
              </a>
        </div>
        <div class="left_white_about">
          <a href="../Personal/Collect.html">
                <span class="left_cn_about_us">我的收藏</span>
              </a>
        </div>
        <div class="left_white_about active">
          <a href="../Personal/Work.html">
                <span class="left_cn_about_us">我的工作</span>
              </a>
        </div>
        <div class="left_white_about">
          <a href="../Personal/set.html">
                <span class="left_cn_about_us">修改密码</span>
              </a>
        </div>
      </div>
      <div class="mid_guide">
        <div class="mid_guide_content">
          <div class="audit_content">
            <div id="up_html"></div>
            <div id="down_html"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div id="footer"></div>
  <script type="text/html" id="up_tpl">
    <div class="audit_title title_1">{{title}}</div>
    <div class="audit_info">
      <div class="audit_info_row clearfix">
        <div class="fl left">事发时间：</div>
        <div class="right">{{operationtime}}</div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">事发地址：</div>
        <div class="right">{{address}}</div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">投诉时间：</div>
        <div class="right">{{createtime}}</div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">投诉编号：</div>
        <div class="right">{{id}}</div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">投诉内容：</div>
        <div class="right unlimited">{{content}}</div>
      </div>
      <div class="audit_info_row last_row clearfix">
        <div class="fl left">相关图片：</div>
        <div class="right unlimited">
          {{each picurllist val idx}}
          <img class="show" src="{{val.smallpic}}" alt=""> {{/each}}
        </div>
      </div>
    </div>
  </script>
  <script type="text/html" id="down_tpl">
    <div class="audit_info">
      <div class="audit_info_row clearfix">
        <div class="fl left">处理时间：</div>
        <div class="right">{{createtime}}</div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">是否属实：</div>
        <div class="right">
          {{if isdeal == 0 }} 不属实 {{else}} 属实 {{/if}}
        </div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">备&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp注：</div>
        <div class="right unlimited">
          {{describe}}
        </div>
      </div>
      <div class="audit_info_row clearfix">
        <div class="fl left">相关附件：</div>
        <div class="right unlimited">
          {{each pictrueurl val idx}}
          <img class="show" src="http://221.10.2.222:5680/api/v1/Files?filename={{val}}" alt="">
          {{/each}}
        </div>
      </div>
    </div>
  </script>
  <script src="../../src/js/libs/jquery.1.12.4.js"></script>
  <script src="../../src/js/libs/jquery.form.js"></script>
  <script src="../../src/js/libs/template-web.js"></script>
  <script src="../../src/js/base/common.js"></script>
  <script>
    var pageindex = 6

    var complianid = document.URL.split('?')[1]

    $.ajax({
      url: 'http://221.10.2.222:5680/api/ow/Complain/Model/' + complianid,
      type: "GET",
      dataType: "json",
      success: function (res) {
        var up = template('up_tpl', res)
        $('#up_html').html(up)
      }
    })

    $.ajax({
      url: 'http://221.10.2.222:5680/api/ow/Tidings/GetWORKModel/' + complianid,
      type: "GET",
      dataType: "json",
      success: function (res) {
        if (res.pictrueurl) {
          res.pictrueurl = res.pictrueurl.split('/')
        }
        var down = template('down_tpl', res)
        $('#down_html').html(down)
      }
    })
  </script>
</body>

</html>